# text_analysis/forms.py
from django import forms
from .models import AnalysisFeedback

class FeedbackForm(forms.ModelForm):
    class Meta:
        model = AnalysisFeedback
        fields = ['feedback']
        widgets = {
            'feedback': forms.Textarea(attrs={'placeholder': '请输入您的反馈...', 'rows': 8, 'cols': 40}),
        }
